package org.dreamwork.jasmine2.restful;

import org.dreamwork.config.ConfigParseException;
import org.dreamwork.config.IXMLConfigParser;
import org.w3c.dom.Element;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2014/12/7
 * Time: 1:47
 */
public class RestfulAPIXmlConfigParser implements IXMLConfigParser {
    @Override
    public Map<String, APIDefinition> parse (Element section) throws ConfigParseException {
/*
        try {
            return RestfulAPIManager.load (section);
        } catch (Exception ex) {
            throw new RuntimeException (ex);
        }
*/
        return null;
    }
}